package com.hmall.search.service;


import com.hmall.common.dto.PageDTO;
import com.hmall.search.pojo.ItemDoc;
import com.hmall.search.pojo.RequestParams;

import java.util.List;
import java.util.Map;

/**
 * 搜索
 *
 * @Author Eeyore
 * @Date 2022/8/10 17:31
 * @Description: 搜索实现类
 */
public interface SearchService {
    List<String> getSuggestion(String key);

    Map<String, List<String>> filters(RequestParams params);

    PageDTO<ItemDoc> getList(RequestParams params);

}
